package com.kuang.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class RedisetController {
    @RequestMapping("/retest")
    public String rTest01(Model model){
        model.addAttribute("msg","重定向成功！");
      //重定向
        return "redirect:/a.jsp";
    }
}
